/**
 * @Author MrsGuo
 * version 1.0
 * @Date 2023-08-07 15:45
 */
package com.cl.erp_2301.Service.impl;

import com.cl.erp_2301.Service.MarketRequestService;

import com.cl.erp_2301.dto.MarketDTO;

import com.cl.erp_2301.mapper.MarketRequestMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MarketRequestServiceImpl implements MarketRequestService {
    @Resource
    private MarketRequestMapper marketMapper;

    @Override
    public List<MarketDTO> selectOrderInquiry() {
        return marketMapper.selectOrderInquiry();
    }

    @Override
    public List<MarketDTO> selectMarketDetailByUuid(Integer uuid) {
        return marketMapper.selectMarketDetailByUuid(uuid);
    }

    @Override
    public List<MarketDTO> selectCheckDetailByUuid(Integer uuid) {
        return marketMapper.selectCheckDetailByUuid(uuid);
    }

    @Override
    public List<MarketDTO> selectMarketRequestList(Integer state) {
        return marketMapper.selectMarketRequestList(state);
    }

    @Override
    public String selectEndername(Integer goodsuuid) {
        return marketMapper.selectEndername(goodsuuid);
    }
}
